package demo.boat.boatSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 舱单
 * </p>
 *
 * @author boat
 * @since 2022-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DocManifestes对象", description="舱单")
public class DocManifestes implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "舱单ID")
    @TableId(value = "MNF_ID", type = IdType.AUTO)
    private BigDecimal mnfId;

    @ApiModelProperty(value = "唛头")
    @TableField("MNF_MK")
    private String mnfMk;

    @ApiModelProperty(value = "提单号")
    @TableField("MNF_BL")
    private String mnfBl;

    @ApiModelProperty(value = "航次ID")
    @TableField("MNF_VVY_ID")
    private BigDecimal mnfVvyId;

    @ApiModelProperty(value = "计划车辆数")
    @TableField("MNF_CAR_AMOUNT")
    private BigDecimal mnfCarAmount;

    @ApiModelProperty(value = "实际车辆数")
    @TableField("MNF_ACTUAL_CAR_AMOUNT")
    private BigDecimal mnfActualCarAmount;
    @TableField(exist = false)
    private List<DocGoods> docGoods;

}
